[INFO] cloning repository https://github.com/Nyanguy/rust.naive
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nyanguy/rust.naive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.naive", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.naive'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6690cf1aba6e62ad3fe29124f2f768098c5d7785
[INFO] checking Nyanguy/rust.naive against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyanguy%2Frust.naive" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nyanguy/rust.naive on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nyanguy/rust.naive
[INFO] finished tweaking git repo https://github.com/Nyanguy/rust.naive
[INFO] tweaked toml for git repo https://github.com/Nyanguy/rust.naive written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/Nyanguy/rust.naive already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8df13384a31bcaf49658d824d96c50a69056246ade6bd5f78c4047aed37f15d1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8df13384a31bcaf49658d824d96c50a69056246ade6bd5f78c4047aed37f15d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8df13384a31bcaf49658d824d96c50a69056246ade6bd5f78c4047aed37f15d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8df13384a31bcaf49658d824d96c50a69056246ade6bd5f78c4047aed37f15d1", kill_on_drop: false }`
[INFO] [stdout] 8df13384a31bcaf49658d824d96c50a69056246ade6bd5f78c4047aed37f15d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 525522c142def1b9fe2d46f86b0fe72069a5e2bc0718d7d3d160f36f062628a4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "525522c142def1b9fe2d46f86b0fe72069a5e2bc0718d7d3d160f36f062628a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]     Checking c_vec v1.3.3
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]     Checking gfx_3d v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/naive/render.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `event::Event`, `keyboard::Keycode`
[INFO] [stdout]  --> src/naive/render.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     event::Event,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 8 |     image::{InitFlag, LoadTexture},
[INFO] [stdout] 9 |     keyboard::Keycode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/naive/gfx/triangle.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`
[INFO] [stdout]  --> src/naive/gfx/vector.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, AddAssign, SubAssign};
[INFO] [stdout]   |                          ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/naive/gfx/mesh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector`
[INFO] [stdout]  --> src/main.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use naive::gfx::{triangle, vector, Triangle, Vec3D, Matrix, Mesh};
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/naive/render.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `event::Event`, `keyboard::Keycode`
[INFO] [stdout]  --> src/naive/render.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     event::Event,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 8 |     image::{InitFlag, LoadTexture},
[INFO] [stdout] 9 |     keyboard::Keycode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/naive/gfx/triangle.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`
[INFO] [stdout]  --> src/naive/gfx/vector.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, AddAssign, SubAssign};
[INFO] [stdout]   |                          ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/naive/gfx/mesh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector`
[INFO] [stdout]  --> src/main.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use naive::gfx::{triangle, vector, Triangle, Vec3D, Matrix, Mesh};
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mat_world` is never read
[INFO] [stdout]   --> src/main.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut mat_world = Matrix::init_identity();
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mat_world` is never read
[INFO] [stdout]   --> src/main.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut mat_world = Matrix::init_identity();
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut mesh = Mesh::load_object("example_objs/landscape.obj");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut f_theta: f32 = 0.0;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut m = Matrix::init_projection(fov, ratio, near, far);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut mesh = Mesh::load_object("example_objs/landscape.obj");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut f_theta: f32 = 0.0;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut m = Matrix::init_projection(fov, ratio, near, far);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/naive/gfx/triangle.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let dist = |mut p: Vec3D| { // a helping lambda function to acquire distances
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/naive/gfx/triangle.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let dist = |mut p: Vec3D| { // a helping lambda function to acquire distances
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/naive/gfx/matrix.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut right = cross_product(&new_up, &forward);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/naive/gfx/matrix.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut right = cross_product(&new_up, &forward);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Text`
[INFO] [stdout]  --> src/naive/text.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Text {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `cast_with_capacity`
[INFO] [stdout]   --> src/naive/text.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn cast_with_capacity(value: u16, capacity: usize) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/naive/text.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new(content: &str, x: u32, y: u32, size: u16, color: Option<sdl2::pixels::Color>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_text`
[INFO] [stdout]   --> src/naive/text.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn change_text(&mut self, new_text: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `contents`
[INFO] [stdout]   --> src/naive/text.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn contents(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_color`
[INFO] [stdout]   --> src/naive/text.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_color(&self) -> sdl2::pixels::Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_hinting`
[INFO] [stdout]   --> src/naive/text.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_hinting(&mut self, hint: sdl2::ttf::Hinting) { self.hint = hint }
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_font`
[INFO] [stdout]   --> src/naive/text.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn set_font(&mut self, font: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_size`
[INFO] [stdout]   --> src/naive/text.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_size(&mut self, size: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_color`
[INFO] [stdout]   --> src/naive/text.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn set_color(&mut self, clr: sdl2::pixels::Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_surface`
[INFO] [stdout]   --> src/naive/text.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `scaled_rect`
[INFO] [stdout]   --> src/naive/render.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn scaled_rect(pos_x: u32, pos_y: u32, rect_width: u32, rect_height: u32, cons_width: u32, cons_height: u32) -> Rect {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `img_ctx`
[INFO] [stdout]   --> src/naive/render.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     img_ctx: sdl2::image::Sdl2ImageContext
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_color`
[INFO] [stdout]   --> src/naive/render.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn set_color(&mut self, clr: Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_line`
[INFO] [stdout]   --> src/naive/render.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn draw_line(&mut self, color: Color, start: (i32,i32), finish: (i32,i32)) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_triangle`
[INFO] [stdout]   --> src/naive/render.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn draw_triangle(&mut self, color: Color, point1: (i32,i32),
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_text`
[INFO] [stdout]    --> src/naive/render.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub fn draw_text(&mut self, text_vec: &Vec<Text>, padding: u32) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_context`
[INFO] [stdout]    --> src/naive/render.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn get_context(&self) -> &sdl2::Sdl {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `load_texture`
[INFO] [stdout]    --> src/naive/render.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn load_texture(&mut self, png: &Path, src: Option<Rect>, dst: Option<Rect>) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `texture_to_buffer`
[INFO] [stdout]    --> src/naive/render.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn texture_to_buffer(&mut self, texture: &sdl2::render::Texture, src: Option<Rect>, dst: Option<Rect>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_3d_points`
[INFO] [stdout]   --> src/naive/gfx/triangle.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn get_3d_points(&self) -> [(f32,f32,f32); 3] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `as_tuple`
[INFO] [stdout]   --> src/naive/gfx/vector.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn as_tuple(&self) -> (f32, f32, f32, f32) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `C_WHITE`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | const C_WHITE: Color = Color::RGBA(255,255,255,255);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Text`
[INFO] [stdout]  --> src/naive/text.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Text {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `cast_with_capacity`
[INFO] [stdout]   --> src/naive/text.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn cast_with_capacity(value: u16, capacity: usize) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/naive/text.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new(content: &str, x: u32, y: u32, size: u16, color: Option<sdl2::pixels::Color>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_text`
[INFO] [stdout]   --> src/naive/text.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn change_text(&mut self, new_text: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `contents`
[INFO] [stdout]   --> src/naive/text.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn contents(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_color`
[INFO] [stdout]   --> src/naive/text.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_color(&self) -> sdl2::pixels::Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_hinting`
[INFO] [stdout]   --> src/naive/text.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_hinting(&mut self, hint: sdl2::ttf::Hinting) { self.hint = hint }
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_font`
[INFO] [stdout]   --> src/naive/text.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn set_font(&mut self, font: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_size`
[INFO] [stdout]   --> src/naive/text.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_size(&mut self, size: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_color`
[INFO] [stdout]   --> src/naive/text.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn set_color(&mut self, clr: sdl2::pixels::Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_surface`
[INFO] [stdout]   --> src/naive/text.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_surface(&self, styles: Vec<sdl2::ttf::FontStyle>) -> Result<sdl2::surface::Surface, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `scaled_rect`
[INFO] [stdout]   --> src/naive/render.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn scaled_rect(pos_x: u32, pos_y: u32, rect_width: u32, rect_height: u32, cons_width: u32, cons_height: u32) -> Rect {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `img_ctx`
[INFO] [stdout]   --> src/naive/render.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     img_ctx: sdl2::image::Sdl2ImageContext
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_color`
[INFO] [stdout]   --> src/naive/render.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn set_color(&mut self, clr: Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_line`
[INFO] [stdout]   --> src/naive/render.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn draw_line(&mut self, color: Color, start: (i32,i32), finish: (i32,i32)) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_triangle`
[INFO] [stdout]   --> src/naive/render.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn draw_triangle(&mut self, color: Color, point1: (i32,i32),
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `draw_text`
[INFO] [stdout]    --> src/naive/render.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub fn draw_text(&mut self, text_vec: &Vec<Text>, padding: u32) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_context`
[INFO] [stdout]    --> src/naive/render.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn get_context(&self) -> &sdl2::Sdl {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `load_texture`
[INFO] [stdout]    --> src/naive/render.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn load_texture(&mut self, png: &Path, src: Option<Rect>, dst: Option<Rect>) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `texture_to_buffer`
[INFO] [stdout]    --> src/naive/render.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn texture_to_buffer(&mut self, texture: &sdl2::render::Texture, src: Option<Rect>, dst: Option<Rect>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_3d_points`
[INFO] [stdout]   --> src/naive/gfx/triangle.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn get_3d_points(&self) -> [(f32,f32,f32); 3] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `as_tuple`
[INFO] [stdout]   --> src/naive/gfx/vector.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn as_tuple(&self) -> (f32, f32, f32, f32) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `C_WHITE`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | const C_WHITE: Color = Color::RGBA(255,255,255,255);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.06s
[INFO] running `Command { std: "docker" "inspect" "525522c142def1b9fe2d46f86b0fe72069a5e2bc0718d7d3d160f36f062628a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "525522c142def1b9fe2d46f86b0fe72069a5e2bc0718d7d3d160f36f062628a4", kill_on_drop: false }`
[INFO] [stdout] 525522c142def1b9fe2d46f86b0fe72069a5e2bc0718d7d3d160f36f062628a4
